//
//  SYPScrollLabel.m
//  仿网易新闻滚动列表
//
//  Created by haha on 15/3/19.
//  Copyright (c) 2015年 haha. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Extension)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize  size;

/**
 nav + status bar
 */
@property (nonatomic, assign, readonly) CGFloat navStsH;
@property (nonatomic, assign, readonly) CGFloat navH;
@property (nonatomic, assign, readonly) CGFloat stsH;
@property (nonatomic, assign, readonly) CGFloat tabH;
@property (nonatomic, weak, readonly) UIViewController *viewController;


- (UIView *)copy;

- (BOOL)isDisplayedInScreen;


@end
